using System;
using System.Collections.Generic;
using System.Text;

using Northwind.Domain.Entities;
using NUnit.Framework;

namespace Northwind.Domain.Tests.Custom
{
    [TestFixture]
    public class EmployeeFixture
    {
        [Test]
        public void VerifyTerritories()
        {
            Employee employee = Employee.Broker.GetByID(1);
            Assert.AreEqual(2, employee.TerritoryList.Count);
        }

        [Test]
        public void VerifyOrders()
        {
            Employee employee = Employee.Broker.GetByID(1);
            Assert.AreEqual(123, employee.OrderList.Count);
        }
    }
}
